package com.ergwang.service.admin;

import com.ergwang.Model.Admin;
import com.ergwang.Model.admin.bo.*;

import java.util.List;

/**
 * Creat by ergWang
 * Date: 2020/5/29
 * Time: 00:15
 */
public interface AdminService {
    Admin login(AdminLoginBO loginBO);

    List<Admin> allAdmins();

    List<Admin> getSearchAdmins(AdminSearchBO searchBO);

    int addAdminss(AdminAddBO adminAddBO);

    int deleteAdmins(int id);

    Admin getAdminsInfo(Admin admin);

    int updateAdminss(AdminUpdateBO updateBO);

    int changePwd(AdminChangePwdBO changePwdBO);
}
